package JavaSEAdvance.day01_extends.d015_homework01;

/**
 * @author Xiao
 * @date 2021/7/15
 */
public class Test {
    public static void main(String[] args) {
        Refrigerator r = new Refrigerator("海尔","节能型","银白色",5000);
        Washer w = new Washer("格力","节能型","黑色",2500);
        Television tv = new Television();
        tv.setBrand("长虹");
        tv.setType("液晶");
        tv.setColor("黑色");
        tv.setPrice(3000);
        System.out.println(r.toString());
        r.storage();
        System.out.println("-----------");
        System.out.println(w.toString());
        w.doSomeWashing();
        System.out.println("-----------");
        System.out.println(tv.toString());
        tv.seeSmallPieces();
    }
}
